[INFO] cloning repository https://github.com/zmbush/rustfuck
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zmbush/rustfuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmbush%2Frustfuck", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmbush%2Frustfuck'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ccbda3b19273e93625436e6b5cf11d1f0655757e
[INFO] checking zmbush/rustfuck against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzmbush%2Frustfuck" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zmbush/rustfuck
[INFO] finished tweaking git repo https://github.com/zmbush/rustfuck
[INFO] tweaked toml for git repo https://github.com/zmbush/rustfuck written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zmbush/rustfuck on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zmbush/rustfuck already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: `[project]` is deprecated in favor of `[package]`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ae09d7b9aac4f28bd43edbab21a73288dbb654f53243208994a1dd16e4c8c3d
[INFO] running `Command { std: "docker" "start" "-a" "7ae09d7b9aac4f28bd43edbab21a73288dbb654f53243208994a1dd16e4c8c3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ae09d7b9aac4f28bd43edbab21a73288dbb654f53243208994a1dd16e4c8c3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ae09d7b9aac4f28bd43edbab21a73288dbb654f53243208994a1dd16e4c8c3d", kill_on_drop: false }`
[INFO] [stdout] 7ae09d7b9aac4f28bd43edbab21a73288dbb654f53243208994a1dd16e4c8c3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1855d8a238508c08420382856cb7e9899ff1fb19ceb53a3fa8956c7b8ce7e771
[INFO] running `Command { std: "docker" "start" "-a" "1855d8a238508c08420382856cb7e9899ff1fb19ceb53a3fa8956c7b8ce7e771", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] error: expected parameter name, found `:`
[INFO] [stdout]   --> src/main.rs:75:42
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 let v = v.trim_matches(|&: c: char| c == ' ');
[INFO] [stdout]    |                                          ^ expected parameter name
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: `[project]` is deprecated in favor of `[package]`
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::old_io::fs::File;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustfuck v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::old_io;
[INFO] [stdout]   |     ^^^^^^^^^^^ no `old_io` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stdout]   |               ^^^^^^ ^^^^^^^  ^^^^^^^          ^^^^^ no `usage` in the root
[INFO] [stdout]   |               |      |        |
[INFO] [stdout]   |               |      |        no `getopts` in the root
[INFO] [stdout]   |               |      no `optflag` in the root
[INFO] [stdout]   |               no `optopt` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tokenizer.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::fs::File;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/main.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::old_io::Command;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/tokenizer.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn parse_file(path: &Path) -> Vec<BFToken> {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let args = os::args();
[INFO] [stdout]    |                    ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 17 -     let args = os::args();
[INFO] [stdout] 17 +     let args = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let path = Path::new(&matches.free[0]);
[INFO] [stdout]    |                ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]  --> src/main.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stdout]   |                                       ^^^^^^^^ private struct
[INFO] [stdout]   |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]  --> /rust/deps/getopts-0.2.23/src/lib.rs:761:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 |     print!("{}", usage(brief.as_slice(), opts));
[INFO] [stdout]    |                              ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0603, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustfuck` (bin "rustfuck" test) due to 12 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected parameter name, found `:`
[INFO] [stdout]   --> src/main.rs:75:42
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 let v = v.trim_matches(|&: c: char| c == ' ');
[INFO] [stdout]    |                                          ^ expected parameter name
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::old_io::fs::File;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::old_io;
[INFO] [stdout]   |     ^^^^^^^^^^^ no `old_io` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stdout]   |               ^^^^^^ ^^^^^^^  ^^^^^^^          ^^^^^ no `usage` in the root
[INFO] [stdout]   |               |      |        |
[INFO] [stdout]   |               |      |        no `getopts` in the root
[INFO] [stdout]   |               |      no `optflag` in the root
[INFO] [stdout]   |               no `optopt` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std`
[INFO] [stdout]  --> src/tokenizer.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::old_io::fs::File;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::old_io`
[INFO] [stdout]  --> src/main.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::old_io::Command;
[INFO] [stdout]   |          ^^^^^^ could not find `old_io` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/tokenizer.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn parse_file(path: &Path) -> Vec<BFToken> {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let args = os::args();
[INFO] [stdout]    |                    ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 17 -     let args = os::args();
[INFO] [stdout] 17 +     let args = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let path = Path::new(&matches.free[0]);
[INFO] [stdout]    |                ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]  --> src/main.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use getopts::{optopt,optflag, getopts,OptGroup,usage};
[INFO] [stdout]   |                                       ^^^^^^^^ private struct
[INFO] [stdout]   |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]  --> /rust/deps/getopts-0.2.23/src/lib.rs:761:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/main.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 |     print!("{}", usage(brief.as_slice(), opts));
[INFO] [stdout]    |                              ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0603, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustfuck` (bin "rustfuck") due to 12 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1855d8a238508c08420382856cb7e9899ff1fb19ceb53a3fa8956c7b8ce7e771", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1855d8a238508c08420382856cb7e9899ff1fb19ceb53a3fa8956c7b8ce7e771", kill_on_drop: false }`
[INFO] [stdout] 1855d8a238508c08420382856cb7e9899ff1fb19ceb53a3fa8956c7b8ce7e771
